package sctu.edu.java.year2016.team01.zhuming.day20160530.Practice;

/**
 * Created by Administrator on 2016/5/31.
 */
public class Main {
    public static void main(String[] args) {
        Circle circle=new Circle(1);
        System.out.println("图形的名称："+circle.getname());
        System.out.println("图形的面积是:"+circle.getarea());

        JuXing juXing=new JuXing(4,42);

        System.out.println("图形的名称："+juXing.getname());
        System.out.println("图形的面积是:"+juXing.getarea());

        System.out.println("            :" + juXing.getname());
    }
}
